<script type="text/javascript" charset="utf-8">
        $(document).ready(function() {
                var oTable = $('#example').dataTable( {
								"sScrollY": "280px",
                        "bPaginate": true,
                        "bFilter": true, 
                        "bSort": true,
                        "sSearch":true,
                        "bProcessing": true,
				            "bServerSide": false,
				            "bAutoWidth": true,
				            "bScrollCollapse": false,
			               "bLengthChange": false,
			               "bInfo": true,
			               'sPaginationType': 'full_numbers',
				            'iDisplayLength': 7
                } );
        } );
</script>
<style type="text/css">
.dataTables_wrapper { font-size: 11px; font-weight: bold; }
</style>
<table width="100%" border="0" rules="groups" >
<tr>
<td>
<h3 align="center"><font color="red" size="4px">USUARIOS INGRESADOS EN EL SISTEMA</font></h3>
<table cellpadding="0" cellspacing="2" border="0" class="display KeyTable" id="example">
	<thead>
		<tr>
			<th>NOMBRE</th>
			<th>APELLIDO</th>
			<th>DIRECCION</th>
			<th>EMAIL</th>
			<th>ROL DE USUARIO</th>
			<th>OPCIONES</th>
		</tr>
	</thead><br/>
	<tbody style="font-size:10px">
	<?php foreach ($this->datUsuarios as $d) : ?>
		<tr class="gradeZ">
            <td align="center"><?php echo $this->escape($d->nombre) ?></td>
			<td align="center"><?php echo $this->escape($d->apellido); ?></td>
			<td align="center"><?php echo $this->escape($d->direccion); ?></td>
			<td align="center"><?php echo $this->escape($d->email); ?></td>
			<td align="center"><?php echo $this->escape($d->rol); ?></td>
			<td align="center">			
			<a title="Ver Consulta en PDF" target="_blank" href="
				<?php  echo $this->url(array('module' => 'reportes','controller' => 'pdf','action' => 'adultomayor','id' => $d->id_consulta));?>">
                <img src="<?php echo $this->baseUrl; ?>/images/pdf.png" width="21" height="20" alt="Ver Cosnulta">			
			</a>			
			</td>
        </tr>
		<?php endforeach; ?>
	</tbody>
	<tfoot>
		<tr>
			<th></th>
			<th></th>
			<th></th>
			<th></th>
			<th></th>
			<th></th>
		</tr>
	</tfoot>
</table>


</center>
</td>
</tr></table>